package org.lztvn.elearning.dao;

import java.util.List;

import org.lztvn.elearning.entities.User;

public interface IUserDao {
   public Long addUser(User u);
   public void deleteUser(Long idUser);
   public void modifierUser(User u);
   public List<User> login(String username,String password);
   public List<User> listUser();
   public List<User> listTeacher();
   public User getUser(Long idUser);
   public User getUserByUsername(String userName);
}
